package com.wtwd.device.service.impl;

import com.wtwd.device.dao.HeartRateListMapper;
import com.wtwd.device.model.entity.HeartRateList;
import com.wtwd.device.service.HeartRateListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HeartRateListServiceImpl implements HeartRateListService {
    @Autowired
    private HeartRateListMapper heartRateListMapper;
    @Override
    public List<HeartRateList> getHeartRateList(Byte type) {
        return heartRateListMapper.selectHeartRateList(type);
    }
}
